package com.alpha.eceasy.mall.api.entity;

import com.alpha.eceasy.extension.BaseFormInfo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * @author huangpengfei
 */
@Data
@TableName("mall_slideshow")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Schema(description= "轮播图")
public class MallSlideshow extends BaseFormInfo<MallSlideshow> {
    @Serial
    private static final long serialVersionUID = 641655770L;
	@Schema(description =  "类型1首页2商城")
	private Integer type;

	@Schema(description =  "轮播图")
	private String cover;

	@Schema(description =  "跳转位置")
	private String jumpUrl;

	@Schema(description =  "排序")
	private Integer sort;

	@Schema(description = "是否后台查询")
	@TableField(exist = false)
	private Boolean isBackground;
}
